package com.yunhe.authority.domain.authority;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @ClassName ChangePassword
 * @Description TODO
 * @Author HeTao
 * @Date 2021/5/31 16:31
 * @Version 1.0
 **/
@ApiModel(value = "ChangePassword",description = "修改密码")
public class ChangePassword {

    @ApiModelProperty(value = "用户ID",required = true)
    private Long id;

    @ApiModelProperty(value = "手机号",required = true)
    private String phone;

    @ApiModelProperty(value = "验证码",required = false)
    private String verificationCode;

    @ApiModelProperty(value = "旧密码",required = true)
    private String password;

    @ApiModelProperty(value = "新密码",required = true)
    private String newPassword;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getVerificationCode() {
        return verificationCode;
    }

    public void setVerificationCode(String verificationCode) {
        this.verificationCode = verificationCode;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }
}
